#include "f_3x5.h"
//Use codepage_ascii for this font.

/*
 * A 5x3 pixel font.  The bits are read across from top left to top right, then down
 * to the next line.  Each character is represented by two 8bit unsigned integers, with
 * bit 8 of the first ignored.
 */
uint8_t font_data_3x5[] PROGMEM = {
	0x00,0x00,	//Space
	0x24,0x82,	//!
	0x5a,0x00,	//"
	0xFF,0xFF,	//#
	0xFF,0xFF,	//$
	0x42,0xa1,	//%
	0xFF,0xFF,	//&
	0x24,0x00,	//'
	0x29,0x22,	//(
	0x22,0x4a,	//)
	0x0a,0xa8,	//*
	0x05,0xd0,	//+
	0x0, 0x24,	//,
	0x01,0xc0,	//-
	0x00,0x04,	//.
	0x12,0xa4,	///
	0x2b,0x6a,		//0
	0x2c,0x97,		//1
	0x73,0xe7,		//2
	0x72,0xcf,		//3
	0x5b,0xc9,		//4
	0x79,0xcf,		//5
	0x79,0xef,		//6
	0x72,0x49,		//7
	0x7b,0xef,		//8
	0x7b,0xcf,		//9
	0x8, 0x20,	//:
	0x8, 0x24,	//;
	0x15,0x11,	//<
	0x0e,0x38,	//=
	0x44,0x54,	//>
	0x72,0x82,	//?
	0x2f,0x7b,	//@
	0x2b,0xed,		//A
	0x6b,0xae,		//B
	0x79,0x27,		//C
	0x6b,0x6e,		//D
	0x79,0xe7,		//E
	0x79,0xe4,		//F
	0x79,0x6f,		//G
	0x5b,0xed,		//H
	0x74,0x97,		//I
	0x12,0x6f,		//J
	0x5b,0xad,		//K
	0x49,0x27,		//L
	0x7f,0x6d,		//M
	0x7b,0x6d,		//N
	0x7b,0x6f,		//O
	0x7b,0xe4,		//P
	0x2b,0x7b,		//Q
	0x7b,0xad,		//R
	0x38,0x8e,		//S
	0x74,0x92,		//T
	0x5b,0x6f,		//U
	0x5b,0x6a,		//V
	0x5b,0xfa,		//W
	0x5a,0xad,		//X
	0x5b,0xd2,		//Y
	0x72,0xa7,		//Z
	0x2f,0x7b,	//[
	0x48,0x89,	//backslash
	0x64,0x96,	//]
	0x2a,0x00,	//^
	0x00,0x07,	//_
	//If you implement lower case letters, do so here...
	0x44,0x00,	//`
	0x15,0x91,	//{
	0x24,0x12,	//|
	0x44,0xd4,	//}
	0x05,0x40,	//~
};

static uint8_t font_width_3x5[] PROGMEM = {
	0x01,	//Space
	0xFF,	//!
	0xFF,	//"
	0xFF,	//#
	0xFF,	//$
	0xFF,	//%
	0xFF,	//&
	0xFF,	//'
	0xFF,	//(
	0xFF,	//)
	0xFF,	//*
	0xFF,	//+
	0x01,	//,
	0xFF,	//-
	0x01,	//.
	0xFF,	///
	0xFF,		//0
	0xFF,		//1
	0xFF,		//2
	0xFF,		//3
	0xFF,		//4
	0xFF,		//5
	0xFF,		//6
	0xFF,		//7
	0xFF,		//8
	0xFF,		//9
	0x01,	//:
	0x01,	//;
	0xFF,	//<
	0xFF,	//=
	0xFF,	//>
	0xFF,	//?
	0xFF,	//@
	0xFF,		//A
	0xFF,		//B
	0xFF,		//C
	0xFF,		//D
	0xFF,		//E
	0xFF,		//F
	0xFF,		//G
	0xFF,		//H
	0xFF,		//I
	0xFF,		//J
	0xFF,		//K
	0xFF,		//L
	0xFF,		//M
	0xFF,		//N
	0xFF,		//O
	0xFF,		//P
	0xFF,		//Q
	0xFF,		//R
	0xFF,		//S
	0xFF,		//T
	0xFF,		//U
	0xFF,		//V
	0xFF,		//W
	0xFF,		//X
	0xFF,		//Y
	0xFF,		//Z
	0xFF,	//[
	0xFF,	//backslash
	0xFF,	//]
	0xFF,	//^
	0xFF,	//_
	//If you implement lower case letters, do so here...
	0xFF,	//`
	0xFF,	//{
	0xFF,	//|
	0xFF,	//}
	0xFF,	//~
};

font_t font_3x5 = {
	font_data_3x5,
	font_width_3x5,
	codepage_ascii_caps,
	3,
	5,
	FONT_VARIABLE_WIDTH
};
